package com.neusoft.dao;

import com.neusoft.pojo.Result;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
public interface LoginDao {
    /*登录功能*/
    public Map<String,?> Login(@Param("username")String username, @Param("password")String password);
    /*注册功能*/
    public int Register(Map<String,?> map);

}
